﻿@model WebUI.Models.Hospital  
<table width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="2">
            <div>
                <div class="titlebox">
                    @Ajax.ActionLink(Model.HospName, "Departments", new { HospitalID = Model.HospitalID }, new AjaxOptions() { LoadingElementId="OnLoadingSpan",UpdateTargetId = "departments", OnFailure = "OnSiteError" })
                </div>
                <div class="ctlbox">
                    @Ajax.ActionLink(" ", "HospitalEdit", new { ID = Model.HospitalID }, new AjaxOptions() { LoadingElementId="OnLoadingSpan",UpdateTargetId = "dialogbox", OnComplete = "showDialog('医院',true)", HttpMethod = "Get", InsertionMode = InsertionMode.Replace, OnFailure = "OnSiteError" }, new { @class = "ui-icon ui-icon-pencil", style = "display:inline-block;" })
                    @Ajax.ActionLink(" ", "DelHospital", new { ID = Model.HospitalID }, new AjaxOptions() { LoadingElementId="OnLoadingSpan",UpdateTargetId = "hospitals", HttpMethod = "Get", InsertionMode = InsertionMode.Replace, Confirm = OnConfirmDel(), OnFailure = "OnSiteError" }, new { @class = "ui-icon ui-icon-close", style = "display:inline-block;" })
                </div>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            @Html.Label("许可编码:") @Html.DisplayFor(m => m.HospCode)
        </td>
        <td>
            @Html.Label("当前状态:")@Html.DisplayFor(m=>m.HospStatusRef.OptionTitle)
        </td>
    </tr>
</table>
